newMuzeInvalidValue
newMuzeInvalidValue() creates a new invalid/null data value with a custom display string for use in Muze data models.
const { newMuzeInvalidValue } = viz;
newMuzeInvalidValue(value)
Parameters:
| Property | Type | Required | Description |
|---|---|---|---|
| value | string | true | The string to display for the invalid value |
Returns: MuzeDatum - A Muze invalid value with the specified display string
Basic Usage
// Create a custom invalid value
const { newMuzeInvalidValue } = viz;
const customInvalid = newMuzeInvalidValue('N/A');